package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.MemberPo;
import com.abel.quiz.po.MemberPoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-08 20:18
* @description
*/
public interface MemberPoDao extends BaseDao<MemberPo, MemberPoCriteria>{

    int countByExample(MemberPoCriteria example);
    
    int deleteByExample(MemberPoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(MemberPo record);
    
    int insertSelective(MemberPo record);
    
    List<MemberPo> selectByExample(MemberPoCriteria example);

    MemberPo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") MemberPo record, @Param("example") MemberPoCriteria example);

    int updateByExample(@Param("record") MemberPo record, @Param("example") MemberPoCriteria example);

    int updateByPrimaryKeySelective(MemberPo record);

    int updateByPrimaryKey(MemberPo record);
}